﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 采购质检申请表
    /// </summary>
    [SugarTable("ProPcApply")]
    public class ProPcApply : Audit
    {
        /// <summary>
        /// 采购申请id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int ProApplyId { get; set; }
        /// <summary>
        /// 采购合同
        /// </summary>
        public string? ProContract { get; set; }
        /// <summary>
        /// 采购质检id
        /// </summary>
        public int? ProcureInspectionId { get; set; }
        /// <summary>
        /// 采购合同id
        /// </summary>
        public int? PurchaseContractsIds { get; set; }
        /// <summary>
        /// 质检主题
        /// </summary>
        public string? QcTopic { get; set; }
        /// <summary>
        /// 人员id
        /// </summary>
        public int? ManpowerId { get; set; }
        /// <summary>
        /// 质检编号
        /// </summary>
        public string? QcCode { get; set; }
        /// <summary>
        /// 质检人员
        /// </summary>
        public string? QcPerson { get; set; }
        /// <summary>
        /// 质检时间
        /// </summary>
        public DateTime? QcTime { get; set; }
    }
}
